package com.xiaoshuidi.cloud.framework.pay.core.client.impl.tongshangyun.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Map;

/**
 * 创建会员入参
 */
@Data
@Accessors(chain = true)
public class MemberCreateReqDTO implements Serializable {

    private static final long serialVersionUID = -2021204541993611607L;
    @NotEmpty(message = "会员id不能为空")
    private String bizUserId;

    /**
     * 会员类型
     */

    private Long memberType;


    /**
     * 访问终端类型
     */
    private Long source;


    /**
     * 扩展参数
     */

    private Map<String, String> extendParam;
}
